﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace MMDemo
{
    public class LabelEx : Label
    {
        public int alpha = 255;
        public Color brs = Color.YellowGreen;
        protected override void OnPaint(PaintEventArgs e)
        {
            e.Graphics.DrawString(this.Text, this.Font, new SolidBrush(Color.FromArgb(alpha, brs)), 0, 0);
        }
    }
}
